package pw.yitree.model;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;

@Component
public class UserBean {

    private final JdbcTemplate jdbcTemplate;

    /*
	@Bean
	@ConfigurationProperties(prefix="datasource.mine")
	public DataSource dataSource() {
	    return new FancyDataSource();
	}
	*/
    //@Autowired
    public UserBean(JdbcTemplate jdbcTemplate) {
        this.jdbcTemplate = jdbcTemplate;
    }
}